package com.example.service;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.example.domain.Movie;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.domain.model.MovieDTO;
import com.example.domain.model.SearchDTO;
import org.springframework.web.multipart.MultipartFile;


/**
* @author Administrator
* @description 针对表【movie】的数据库操作Service
* @createDate 2023-03-20 09:44:37
*/
public interface MovieService extends IService<Movie> {

     MovieDTO getById(String id);

     IPage<MovieDTO> getList(Page<MovieDTO> page, SearchDTO searchDTO);

     IPage<MovieDTO> getNewList(Page<Movie> page);

     IPage<MovieDTO> getHotList(Page<Movie> page);
     boolean save(MovieDTO movieDTO);

     boolean update(String id,MovieDTO movieDTO);

     boolean delete(String id);




}
